package com.probox.common.entity.service.customer;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.customer.PaymentRule;

/**
 * 付费规则Service接口
 *
 * @author zsy
 * @date 2021-05-27
 */
public interface IPaymentRuleService extends IService<PaymentRule> {


        /**
         * 查询付费规则
         *
         * @param ruleId 付费规则ID
         * @return 付费规则
         */
        public PaymentRule selectPaymentRuleById(Long ruleId);


        /**
         * 查询付费规则列表
         *
         * @param paymentRule 付费规则
         * @return 付费规则集合
         */
        public List<PaymentRule> queryList(PaymentRule paymentRule);


        /**
         * 新增付费规则
         *
         * @param paymentRule 付费规则
         * @return 结果
         */
        public boolean insertPaymentRule(PaymentRule paymentRule);

        /**
         * 修改付费规则
         *
         * @param paymentRule 付费规则
         * @return 结果
         */
        public boolean updatePaymentRule(PaymentRule paymentRule);

        /**
         * 批量删除付费规则
         *
         * @param ruleIds 需要删除的付费规则ID
         * @return 结果
         */
        public boolean deletePaymentRuleByIds(Long[] ruleIds);




}
